package com.elias.share.service;

import com.elias.share.vo.WebResultVo;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.nio.file.Path;

public interface IFileService {

    WebResultVo<String> uploadFile(MultipartFile file, Integer expireTime);

    void downloadFile(Path path, HttpServletResponse response);
}
